<template>
  <div id="app">
    <keep-alive :include="['Aboutme', 'Message', 'FriendsLink', 'Reward','ChatView']">
      <router-view></router-view>
    </keep-alive>
    <footer>
      <div class="footer-wrapper">
        <div class="copyright">Copyright&nbsp;©&nbsp;2022-2023
          <i style="color:red;animation: announ_animation 0.8s linear infinite;" class="fa fa-heartbeat">
          </i>&nbsp;Zlwblog.
        </div>
        <div class="framework-info">
          <a href="https://beian.miit.gov.cn/" target="_blank">All Rights Reserved. 桂ICP备2023000859号-1</a>
        </div>
        <div class="footer_custom_text">Hi, welcome to my blog!</div>
      </div>
    </footer>
  </div>
</template>
<script>
export default {
  name: 'App',
}
</script>

<style lang="less">
// 原博客主提色
//@tcolors:#97dffd;//按钮和标签颜色
//@tcolorm:#64609E;//分类的选中的颜色
//@tcolord:#48456D;//按钮hover 的颜色

/***** 粉红色主题****/
@tcolors: rgb(73, 177, 245); //按钮和标签颜色
@tcolorm: pink; //分类的选中的颜色
@tcolord: rgb(114, 140, 165); //按钮hover 的颜色
//
// /******淡黄色主题*****/
// @tcolors:#97dffd;//按钮和标签颜色
// @tcolorm:#64609E;//分类的选中的颜色
// @tcolord:#48456D;//按钮hover 的颜色
//
// /****** 淡紫色主题 ****/
// @tcolors:#97dffd;//按钮和标签颜色
// @tcolorm:#64609E;//分类的选中的颜色
// @tcolord:#48456D;//按钮hover 的颜色

/*reset*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
}

.footer-wrapper {
  font-size: 16px;
  line-height: 25px;
  position: relative;
  padding: 2rem 1rem;
  //color: #EEEEEE;
  text-align: center;
}

/** 心脏跳动动画 */
@keyframes announ_animation {
  0%, 100% {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -o-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
  }
  50% {
    -webkit-transform: scale(1.2);
    -moz-transform: scale(1.2);
    -o-transform: scale(1.2);
    -ms-transform: scale(1.2);
    transform: scale(1.2);
  }
}

// 自定义加载动画
.el-loading-spinner {
  background-image: url('./assets/loading.gif'); //加载动图
  background-repeat: no-repeat; //设置背景图不重复
  height: 100%; //图片高度
  background-size: cover;
  background-position: center; //设置背景定位为居中
  top: 25px !important; //覆盖element-ui默认的50%，因为此处设置了height:100%,所以不设置的话，会只显示一半，因为被top顶下去了
}

.el-loading-spinner .circular {
  display: none; //隐藏之前element-ui默认的loading动画
}

body {
  cursor: url(https://cdn.jsdelivr.net/gh/sviptzk/HexoStaticFile@latest/Hexo/img/default.cur), default;
  font-family: Arial, "STHeiti", Helvetica, sans-serif;
  //background:#efefef;
  background: rgb(247, 249, 254);
  //background: url("./assets/bk3.jpg") no-repeat fixed center center;
  background-size: cover;
  font-size: 14px;
  color: #444 !important;
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;
  -webkit-overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

// 滚动条样式
//::-webkit-scrollbar {
//  width: 7px;
//  height: 5px;
//  border-radius: 15px;
//  -webkit-border-radius: 15px;
//}
//
//::-webkit-scrollbar-track-piece {
//  background-color: #ffff;
//  border-radius: 15px;
//  -webkit-border-radius: 15px;
//}
//
//::-webkit-scrollbar-thumb:vertical {
//  height: 5px;
//  background-color: rgba(144, 147, 153, 0.5);
//  border-radius: 15px;
//  -webkit-border-radius: 15px;
//}
//
//::-webkit-scrollbar-thumb:horizontal {
//  width: 7px;
//  background-color: rgba(144, 147, 153, 0.5);
//  border-radius: 15px;
//  -webkit-border-radius: 15px;
//}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-corner {
  background-color: transparent;
}

::-webkit-scrollbar-thumb {
  background-color: #49b1f5;
  background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.4) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0.4) 75%, transparent 75%, transparent);
  border-radius: 2em;
}


::-webkit-scrollbar-track {
  background-color: rgba(73, 177, 245, 0.2);
  border-radius: 2em;
}

table {
  border-collapse: collapse;
  border-spacing: 0
}

fieldset, img {
  border: 0
}

legend {
  display: none
}

// address, caption, cite, code, dfn, em, strong, th, var{
//   font-style:normal;
//   font-weight:normal
// }
ol, ul {
  list-style: none
}

caption, th {
  text-align: left
}

h1, h2, h3, h4, h5, h6 {
  font-size: 100%;
  font-weight: normal
}

q:before, q:after {
  content: ''
}

abbr, acronym {
  border: 0
}

a {
  text-decoration: none;
}

html {
  -webkit-text-size-adjust: none;
  width: 100%;
  height: 100%
}

/*????iphone??safari????????????*/
input[type="text"], input[type="button"], input[type="submit"], input[type="search"] {
  -webkit-appearance: none;
  border-radius: 0;
}

/*************其他内容*************/
#app {
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  width: 100%;
  overflow-x: hidden;
  -webkit-overflow-x: hidden;
  color: #444;
}

h1, h2 {
  font-weight: normal;
}

a {
  color: #444;
}

.container {
  max-width: 60%;
  margin: 0 auto;
  padding: 0 10px;
  // overflow-x: hidden;
  // -webkit-overflow-x: hidden;
}

//时间和标题
.s-round-date {
  position: absolute;
  top: -20px;
  left: -35px;
  height: 60px;
  width: 70px;
  padding-top: 10px;
  border-radius: 100px;
  color: #fff;
  background: @tcolors;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .14), 0 3px 1px -2px rgba(0, 0, 0, .2), 0 1px 5px 0 rgba(0, 0, 0, .12);
}

.s-round-date span {
  text-align: center;
  display: block;
}

.s-round-date .day {
  font-size: 30px;
  font-weight: 700;
}

// 相同的标题副标题
.tcommonBox {
  white-space: normal;
  word-wrap: break-word;
  word-break: break-all;
  position: relative;
  background: #fff;
  padding: 15px;
  border-radius: 5px;
  margin-bottom: 40px;
  font-size: 15px;
}

.tcommonBox header {
  white-space: normal;
  word-wrap: break-word;
  word-break: break-all;
}

.tcommonBox header h1 {
  margin: 10px 0;
  font-size: 25px;
  font-weight: 700;
  text-align: center;
  line-height: 30px;
}

.tcommonBox header h2 {
  margin: 10px 0;
  line-height: 24px;
  text-align: center;
  color: #555;
  font-size: 14px;
}

.tcommonBox section p {
  line-height: 24px;
  margin: 10px 0;
}

.tcommonBox header h2 .el-rate, .rateBox {
  display: inline-block;
}

.tcommonBox header h2 .el-rate i {
  font-size: 16px;
}

.s-item .article-coontent {
  font-size: 15px;
  white-space: normal;
  word-wrap: break-word;
  word-break: break-all;
}

//标题和按钮
.s-item .article-content p {
  margin: 10px 0;
  line-height: 24px;
}

.s-item .viewdetail {
  margin: 10px 0;
  line-height: 24px;
  text-align: center;
}

.s-item .viewdetail a {
  color: #fff;
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 5px;
}

.viewmore {
  text-align: center;
  width: 100%;
}

.viewmore a {
  /*background:  #97dffd;*/
  /*padding:6px 0;*/
  border-radius: 5px;
  text-align: center;
  font-size: 14px;
  color: #fff;
  height: 30px;
  line-height: 30px;
  display: block;
}

@media screen and (max-width: 500px) {
  //500px 手机尺寸
  .dlikeColBox { //点赞收藏手机端换行
    display: block !important;
    float: none !important;
    margin: 10px auto !important;
    text-align: center !important;
  }

  .el-message-box { //提示弹框手机框展示
    max-width: 80%;
  }

  .userInfoBox .el-input, .userInfoBox .el-textarea { //用户中心表框
    max-width: 280px !important;
  }

  .userInfoBox li { //li 更改padding  缩小距离
    padding: 15px 10px !important;
  }

  .userInfoBox li .el-radio-group .el-radio { //标签样式调整
    margin-left: 15px !important;
    margin-bottom: 5px;
  }

  .tFriendsBox .tf-item a { //好友列表自适应缩小尺寸
    padding: 0 5px 0 60px !important;

    img {
      width: 50px !important;
      height: 50px !important;
      left: 5px !important;
    }
  }
}

@media screen and (max-width: 700px) {
  .headBox {
    display: block;
  }

  //.mobileBox{//手机端导航栏显示
  //    display: block;
  //}
  .headImgBox {
    height: 450px !important;
    margin-bottom: -140px !important;
  }

  .h-information {
    display: none;
  }

  .headImgBox .scene {
    font-size: 50px !important;
    top: 120px;
  }


}


@media screen and (min-width: 701px) {
  .headBox {
    display: block;
  }

  .mobileBox {
    display: none;
  }
}

@media screen and  (max-width: 800px) {
  .container {
    max-width: 100% !important;
    margin: 0 auto;
  }

  .s-round-date {
    width: 0 !important;
  }

  .ui.label {
    left: -18px !important;
    padding-left: 18px !important;
  }

  .ui.label::after {
    border: none !important;
  }

  .headBox li.el-menu-item, .headBox .el-submenu__title {
    padding: 0 15px;
  }

  .toTop {
    display: none !important;
  }

  //隐藏上滑图标
  .hidden {
    display: none !important;
  }

}

@media screen and  (min-width: 801px) {
  .headBox li.el-menu-item, .headBox .el-submenu__title {
    padding: 0 12px;
  }

}

@media screen and  (max-width: 990px) {
  // .hidden{
  //     display: none!important;
  // }
  div.rightlistBox .rs2.fixed {
    position: relative;
    top: 0;
    width: auto;
  }
}

@media screen and  (min-width: 991px) {
  .headBox li.el-menu-item, .headBox .el-submenu__title {
    padding: 0 20px;
  }
}

.tcolors {
  color: @tcolors;
}

.tcolorm {
  color: @tcolorm;
}

.tcolord {
  color: @tcolord;
}

.tcolors-bg {
  background: @tcolors;
  transition: all .3s ease-in-out;
}

.tcolord-bg {
  background: @tcolord;
}

.tcolors-bg:hover {
  background: @tcolord;
}

.paginationBox li.active {
  background: @tcolorm;
}

.paginationBox li:hover {
  color: @tcolord;
}

.el-pagination button:hover {
  color: @tcolord;
}


.fitImg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.maxW {
  max-width: 100%;
}

.fwb {
  font-weight: bold;
}

.right {
  float: right;
}

.left {
  float: left;
}

.btnone {
  border-top: none !important;
}

.brone {
  border-right: medium none !important;
}

.clearfix:before,
.clearfix:after {
  display: table;
  content: "";
}

.clearfix:after {
  clear: both
}

.smalltitle {
  /*height:36px;*/
  /*line-height: 36px;*/
}

.logoImg {
  width: 160px;;
  height: 50px;
  display: inline-block;
  padding: 5px 5px;
  vertical-align: top;
}

.logoImg img {
  width: 100%;
  height: 100%;
}

//公共标签
.ui.label {
  border-color: @tcolors;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .14), 0 3px 1px -2px rgba(0, 0, 0, .2), 0 1px 5px 0 rgba(0, 0, 0, .12);
  background-color: @tcolors;
  margin: 5px 0 15px 2px;
  font-size: 14px;
  position: relative;
  left: -32px;
  border-radius: 0 4px 4px 0;
  padding: 7px 11.2px 7px 32px;
  display: inline-block;
  color: #fff;
}

.ui.label::after {
  position: absolute;
  content: '';
  top: 100%;
  left: 0;
  border-top: 0 solid transparent;
  border-right-width: 1em;
  //border-right-color:@tcolord;
  border-right-color: @tcolors;
  border-right-style: solid;
  border-bottom: 1em solid transparent;
  border-left: 0 solid transparent;
  width: 0;
  height: 0;
}

.ui.label a {
  color: #fff;
  line-height: 100%;
}

</style>
